package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeStrategyTbl implements Serializable {
    private Long strategyId;

    private String strategyName;

    private String strategyDesc;

    private String accId;

    private String param;

    private String startTime;

    private String endTime;

    private String createTime;

    private String targetCode;

    private String factorRate;

    private static final long serialVersionUID = 1L;

    public Long getStrategyId() {
        return strategyId;
    }

    public void setStrategyId(Long strategyId) {
        this.strategyId = strategyId;
    }

    public String getStrategyName() {
        return strategyName;
    }

    public void setStrategyName(String strategyName) {
        this.strategyName = strategyName == null ? null : strategyName.trim();
    }

    public String getStrategyDesc() {
        return strategyDesc;
    }

    public void setStrategyDesc(String strategyDesc) {
        this.strategyDesc = strategyDesc == null ? null : strategyDesc.trim();
    }

    public String getAccId() {
        return accId;
    }

    public void setAccId(String accId) {
        this.accId = accId == null ? null : accId.trim();
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param == null ? null : param.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode == null ? null : targetCode.trim();
    }

    public String getFactorRate() {
        return factorRate;
    }

    public void setFactorRate(String factorRate) {
        this.factorRate = factorRate == null ? null : factorRate.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", strategyId=").append(strategyId);
        sb.append(", strategyName=").append(strategyName);
        sb.append(", strategyDesc=").append(strategyDesc);
        sb.append(", accId=").append(accId);
        sb.append(", param=").append(param);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", targetCode=").append(targetCode);
        sb.append(", factorRate=").append(factorRate);
        sb.append("]");
        return sb.toString();
    }
}